
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input,
button,
select,
img {
    outline: 0;
    border: 0;
    vertical-align: middle;
}

ul,
li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
i,
em {
    font-style: normal;
}

a,a:hover,a:focus{
    text-decoration: none;
    outline-style: none;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
.clearfix {
    zoom: 1;
}

html,
body {
    width: 100%;
    height: 100%;
}
body {
    line-height: 0;
}
.suxin {
    position: absolute;
    width: 30px;
    height: 30px;
    font-size: 12px;
    font-family: "Suxin";
    z-index: -1;
    opacity: 0;
    top: -0.6rem;
}
.swiper-container {
    width: 100%;
    height: 100%;
}
// 第一页  
.section01 {
    top: 0;
    bottom: 0;
    // background-color: #3ca7db
}
.index_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    .bg {
        position: absolute;
        width: 100%;
        // height: 100%;
    }
    .bg_ani {
        animation: bgrotate 10s linear 0s infinite;
    }
    @keyframes bgrotate {
        0% {
        }
        50% {
        }
        100% {
            transform: rotate(360deg);

        }
    }
    .all_star_img,
    .all_water_img {
        position: absolute;
    }
    
    .star01 {
        top: 5.2rem;
        left: 0.4rem;
        width: 0.8rem;
        animation: flicker 1s ease-out infinite;
    }
    .star02 {
        top: 5.8rem;
        left: 4.9rem;
        width: 0.7rem;
        animation: flicker 1s ease-out 0.4s infinite;        
    }
    .star03 {
        top: 9.2rem;
        left: 5.54rem;
        width: 0.5rem;
        animation: flicker 1s ease-out 0.2s infinite;                
    }
    .water01 {
        top: 9.5rem;
        left: 6rem;
        // top: 7.8rem;
        // left: 4.6rem;
        width: 0.6rem;
        // -webkit-animation: water01 2s ease-out 0.1s infinite;
        // animation: water01 2s ease-out 0.1s infinite;
        &.water_run {
            animation: water01 2s ease-out 0.1s infinite;
        }
    }
    .water02 {
        top: 6.7rem;
        left: 6.3rem;
        // top: 7.8rem;
        // left: 4.6rem;
        width: 0.9rem;
        &.water_run {
            animation: water02 2s ease-out 0.5s infinite;
        }
        // -webkit-animation: water02 2s ease-out 0.5s infinite;
        // animation: water02 2s ease-out 0.5s infinite;
    }
    .water03 {
        top: 9rem;
        left: 1.1rem;
        // top: 7.5rem;
        // left: 2.3rem;
        width: 1.5rem;
        &.water_run {
            animation: water03 2s ease-out 0.2s infinite;
        }
        // -webkit-animation: water03 2s ease-out 0.2s infinite;
        // animation: water03 2s ease-out 0.2s infinite;
    }
}
@keyframes flicker {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}
@keyframes water03 {
    0% {
        opacity: 0;
        // top: 7.5rem;
        // left: 2.3rem;
    }
    100% {
        opacity: 0.8;
        transform: rotate(-50deg);
        // top: 10rem;
        // left: 0.5rem;
        transform: translate(-2.2rem,2rem);
        -webkit-transform: rotate(-50deg);
        -webkit-transform: translate(-2.2rem,2rem);
    }
}
@keyframes water02 {
    0% {
        top: 7.8rem;
        left: 4.6rem;
        opacity: 0;
    }
    100% {
        opacity: 0.8;
        transform: rotate(0deg);
        // top: 6rem;
        // left: 7rem;
        transform: translate(2rem,-2.2rem);
        -webkit-transform: rotate(0deg);
        -webkit-transform: translate(2rem,-2.2rem);
    }
}
@keyframes water01 {
    0% {
        opacity: 0;
        top: 7.8rem;
        left: 4.6rem;
    }
    100% {
        opacity: 0.8;
        transform: rotate(10deg);
        // top: 10rem;
        // left: 6.5rem;
        transform: translate(2rem,2.2rem);
        -webkit-transform: rotate(10deg);
        -webkit-transform: translate(2rem,2.2rem);
    }
}



.index_btn {
    position: absolute;
    bottom: 100px;
    width: 100%;
    height: 60px;
    img {
        display: block;
        width: 170px;
        margin: 0 auto;
        transform-origin: 50% 50%;
    }
}
.btn_animate {
    animation: startbtn 0.1s ease-out 0s 3;
}
@keyframes startbtn {
    0% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
    100% {
        transform: rotate(-3deg);
    }
}
.start_game {
    display: block;
    position: absolute;
    width: 170px;
    // top: 10.2rem;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    height: 1.2rem;
}

.weui-picker {
    position: absolute;
}

// @keyframes fishrun {
//     0% {
//         top: 20px;
//         transform: rotate(45deg);
//     }
//     10% {
//         transform: rotate(135deg);
//         top: -20px;
//     }
//     20% {
//         transform: rotate(45deg);
//         top: 20px;
//     }
//     30% {
//         transform: rotate(135deg);
//         top: -20px;
//     }
//     40% {
//         transform: rotate(45deg);
//         top: 20px;
//     }
//     50% {
//         transform: rotate(135deg);
//         top: -20px;
//     }
//     60% {
//         transform: rotate(45deg);
//         top: 20px;
//     }
//     70% {
//         transform: rotate(135deg);
//         top: -20px;
//     }
//     80% {
//         transform: rotate(45deg);
//         top: 20px;
//     }
//     90% {
//         transform: rotate(135deg);
//         top: -20px;
//     }
//     100% {
//         top: 0;
//         left: 100%;
//         transform: rotate(0deg);
//         transform: translateX(-100%);
//     }
// }

.next_slider2,
.next_slider3 {
    display: block;
}

// 第二页
.section02 {
    overflow: hidden;
}

.game_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    .bg {
        position: absolute;
        width: 100%;
 
    }

    .wave_bg {
        position: absolute;
        width: 100%;
        bottom: -0.7rem;
        // bottom: 0;
        transition: all 1.5s;
    }
    .wave_left {
        transform: translateX(-100%);
    }
    .wave_right {
        transform: translateX(100%);
    }
    // .waterrun {
    //     animation: waterrun 3s ease-in 0s 1 forwards;
    // }
    .waverun {
        transform: translateX(0);
    }

    .ladle {
        opacity: 0;
        position: absolute;
        width: 4rem;
        bottom: 1.5rem;
        left: 2.2rem;
        transform-origin: right bottom; 
        transform: rotate(-100deg);
    }
    .ladlerun {
        animation: ladlerun 2s ease-in 0s 1 forwards;
    }
}
@keyframes waterrun {
    0% {

    }
    100% {
        transform: translateY(0px)
    }
}
@keyframes ladlerun {
    0% {

    }
    100% {
        opacity: 1;
        transform: rotate(0deg);
    }
}
.game_btn {
    position: absolute;
    width: 100%;
    height: 100%;
    >img {
        width: 100%;
        // height: 100%;
    }
}

.nickname {
    position: absolute;
    top: 4.43rem;
    left: 2.8rem;
    .nickname_input {
        width: 2.8rem;
        position: fixed;
    }
}
.tips {
    position: absolute;
    display: none;
    top: 3.2rem;
    color: #f66d17;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.2rem;
    height: 0.28rem;
    line-height: 0.28rem;
    font-family: "Suxin";
}


.select_sex {
    position: absolute;
    top: 5.1rem;
    left: 2.82rem;
    font-size: 0.4rem;
    height: 0.3rem;
    line-height: 0.3rem;
    .select_girl {
        margin-left: 0.7rem;
    }
    .select_gender {
    }
    label {
        background-color: #f2f1d8;
        display: inline-block;
    }
}

.date {
    position: absolute;
    width: 2.9rem;
    top: 5.8rem;
    left: 3.1rem;
    height: 0.3rem;
}
#datePicker {
    width: 2.9rem;
    height: 0.3rem;
    font-size: 0.2rem;
    line-height: 0.3rem;
    >div {
        float: left;
    }
    .year {
        width: 0.8rem;
        height: 0.3rem;  
        text-align: center;      
    }
    .month,
    .day {
        width: 0.6rem;
        height: 0.3rem;
        margin-left: 0.32rem;
        text-align: center;
    }
}
.next_slider2 {
    position: absolute;
    top: 7rem;
    left: 2.1rem;
    width: 3.4rem;
    height: 0.9rem;
}

// 第三页
.nickname_show {
    position: absolute;
    width: 100%;
}

.posters {
    // position: relative;
    width: 100%;
    height: 100%; 
    #imgcanvas {
        position: absolute;
        display: none;
    }
}
.posters_img {
    // width: 100%;
    // height: 100%;
}


.weui-picker {
    font-size: 15px;
}
.weui-picker__hd {
    padding: 17px 15px;
}
// 测试
// .test {
//     position: absolute;
//     top: 50px;
//     left: 50px;
//     width: 100px;
//     height: 60px;
//     line-height: 60px;
//     font-size: 30px;
// }
// 第四页
// .select_head {
//     margin-top: 10%;
//     margin-left: 30%;
// }
// .select_list {
//     margin-left: 30%;
// }


// .select_list .select_label {
//     display: block;
//     margin-top: 10px;
// }

// 第一页css动画
// @keyframes css3 { 0%  { width:0px;} 100%{ width:90%;}  }
// @-moz-keyframes css3 { 0%  { width:0px;} 100%{ width:90%;}  }
// @-webkit-keyframes css3 { 0%  { width:0px;} 100%{ width:90%;}  }
